﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DTO;
using DAO;
namespace BUS
{
    public class CTPhieuBanBUS
    {
        public string TaoCTHDMoi()
        {
            CTPhieuBanDAO dao = new CTPhieuBanDAO();
            return dao.TaoCTHDMoi();
        }
        public int ThemCTPhieuBan(CTPhieuBanDTO ctpbDTO)
        {
            CTPhieuBanDAO dao = new CTPhieuBanDAO();
            return dao.ThemCTPhieuBan(ctpbDTO);
        }
        public List<CTPhieuBanDTO> TheoDoiBanHang()
        {
            CTPhieuBanDAO dao = new CTPhieuBanDAO();
            return dao.TheoDoiBanHang();
        }
        public List<CTPhieuBanDTO> LayThongTinCTBH(string MaBH)
        {
            CTPhieuBanDAO dao = new CTPhieuBanDAO();
            return dao.LayThongTinCTBH(MaBH);
        }
        /* public List<CTPhieuBanDTO> TheoDoiXuat(string MaBH)
         {
             CTPhieuBanDAO dao = new CTPhieuBanDAO();
             return dao.TheoDoiBanHang(MaBH);
         }*/
    }
}

